package com.yuwei.database.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.yuwei.database.dao.UserInfoDao
import com.yuwei.database.entity.UserEntity

@Database(
    entities = [UserEntity::class], //代表数据表
    version = 1, //数据库版本号
    exportSchema = false, //外部不可访问
    //数据库升级策略配置
    autoMigrations = [

    ]
)
abstract class AppDataBase : RoomDatabase() {
    abstract fun getUserInfoDao() : UserInfoDao

}